import autoVueForm from './autoVueForm';
import autoVueTable from './autoVueTable';
import autoVueDialog from './autoVueDialog';

export default option => {
  autoVueForm(option);
  autoVueTable(option);
  autoVueDialog(option);

  let {
    data,
  } = option;
  if (typeof data !== 'undefined') {
    option.data = function () {
      return data;
    };
  }
};
